package com.jblog.core.service.blog;

import java.util.List;

import com.jblog.core.model.blog.Category;
import com.jblog.core.model.blog.param.CategoryParam;

public interface CategoryService {
    
    public Category findById(Long id);
    
    public Category findByAlisa(String s);
    
    public List<Category> findByParam(CategoryParam p);
    
    public List<Category> findAll(CategoryParam p);
    
    public void enDisable(Category e, boolean able);
    
    public void save(Category e);
    
    public void update(Category e);
    
    public void delete(Long id);
    
}
